<?php if (!defined('THINK_PATH')) exit();?><script type="text/javascript" src="../Public/js/module/Index/top.js"></script>

<div class="wrap">
    <div class="main">
        <!--分类列表-->
        <div class="billboard">
            <!--类别-->
            <div class="">
                <div class="clear">

                </div>
                <div class="lineDiv" style="float: left;margin-left: -8px;display: inline;">
                    <a href="<?php echo ($topLogo["link"]); ?>" target="_blank">
                        <img src="<?php echo ($topLogo["img_url"]); ?>"></a>
                </div>
                <p style="text-align: right;">
                    共收录限免
                    <script src="/Service/FreeJS.aspx?type=all"></script><span style="color:#2E6AB1;font-weight: bold;"><?php echo ($allApp); ?></span>
                    , 今日发布
                    <script src="/Service/FreeJS.aspx?type=game"></script><span style="color:#2E6AB1;font-weight: bold;"><?php echo ($releaseAppByToday); ?></span>
                    ，
                    <script src="/Service/FreeJS.aspx?type=savemoney"></script>累计下载：<span style="color:#2E6AB1;font-weight: bold;"><?php echo ($allAppDownLoadNum); ?></span>次
                </p>
            </div>
            <!--大家在做什么-->
            <div class="clear">
            </div>
        </div>
        <!--热门软件列表-->
        <div class="hot_soft_list">
            <div class="soft_sift">
                <ul>

                </ul>
                <div class="clear">
                </div>
            </div>

            <br>
            <table class="table_billboard">
                <tbody><?php if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$l): ++$k;$mod = ($k % 2 )?><?php if($k % 4 == 1 ): ?><tr class="row_1"><?php endif; ?>
                    <td class="td_index_top_app" a_id="<?php echo ($l["id"]); ?>">
                        <div class="bill_list clear">
                            <div class="bill_num">
                                <?php echo ($l["ranking"]); ?></div>
                            <div class="bill_ico">
                                <a class="list_icon">
                                    <img alt="" src="<?php echo ($l["app_icon"]); ?>">
                                    <span class="home_app_cover"></span></a>
                            </div>
                            <div class="bill_info">
                                <h5 title="<?php echo ($l["name"]); ?>"><?php echo (msubstr($l["name"],0,4)); ?></h5>
                                <p title="<?php echo ($l["tag"]); ?>">类型：<?php echo (msubstr($l["tag"],0,4)); ?></p>
                                <p>价格：
                                <?php if(empty($l['price'])): ?>免费
                                    <?php else: ?> <?php echo ($l["price"]); ?><?php endif; ?>
                                </p>
                                <p class="update">
                                    更新：<?php echo ($l["date"]); ?></p>
                                <?php if($l["order_ranking"] < 0): ?><span class='down'><?php echo (abs($l["order_ranking"])); ?></span>
                                    <?php elseif($l["order_ranking"] == 0): ?>
                                    <span class='keep'><?php echo ($l["order_ranking"]); ?></span>
                                    <?php else: ?>
                                    <span class='bill_active'><?php echo ($l["order_ranking"]); ?></span><?php endif; ?>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                    </td>
                    <?php if($k % 4 == 0 ): ?></tr><?php endif; ?><?php endforeach; endif; else: echo "" ;endif; ?>
                </tbody></table>

            <!--翻页-->
            <div class="digg">

                <!-- AspNetPager V7.2 for VS2005 & VS2008  Copyright:2003-2008 Webdiyer (www.webdiyer.com) -->
                <div class="sabrosus" id="AspNetPager1">
                    <?php echo ($show); ?>
                </div>
                <!-- AspNetPager V7.2 for VS2005 & VS2008 End -->


            </div>
            <div class="clear">
            </div>
        </div>
        <div class="clear">
        </div>
        <!--banner广告-->
        <div class="here_ads_2">

        </div>

    </div>
</div>
</form>
<form id="frm_hidden_app_top" method="post"></form>